package com.richapp.launcher.database.infrared.mode;

import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

/**
 * Created by jack on 2015/4/9 0009.
 * 类型按钮
 */

@DatabaseTable(tableName = "button")
public class Button {

    @DatabaseField(generatedId = true)
    private int buttonId;

    @DatabaseField(columnName = "machineTypeId",canBeNull = false)
    private int machineTypeId; //类型ID

    @DatabaseField(columnName = "order",canBeNull = false)
    private String order; //排序号

    @DatabaseField(columnName = "disCh",canBeNull = false)
    private String disCh;   //按钮中文名

    @DatabaseField(columnName = "disEn",canBeNull = false)
    private String disEn;   //按钮英文名

    @DatabaseField(columnName = "isStudyType",canBeNull = false,defaultValue = "true")
    private String isStudyType;   //是否属于学习模板

    @DatabaseField(columnName = "note")
    private String note;    //备注

    public Button(){

    }

    public int getButtonId() {
        return buttonId;
    }

    public void setButtonId(int buttonId) {
        this.buttonId = buttonId;
    }

    public int getMachineTypeId() {
        return machineTypeId;
    }

    public void setMachineTypeId(int machineTypeId) {
        this.machineTypeId = machineTypeId;
    }

    public String getOrder() {
        return order;
    }

    public void setOrder(String order) {
        this.order = order;
    }

    public String getDisCh() {
        return disCh;
    }

    public void setDisCh(String disCh) {
        this.disCh = disCh;
    }

    public String getDisEn() {
        return disEn;
    }

    public void setDisEn(String disEn) {
        this.disEn = disEn;
    }

    public String getIsStudyType() {
        return isStudyType;
    }

    public void setIsStudyType(String isStudyType) {
        this.isStudyType = isStudyType;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }
}
